package com.yic.module.wms.convert.warehousearea;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.wms.controller.admin.warehousearea.vo.*;
import com.yic.module.wms.dal.dataobject.warehousearea.WarehouseAreaDO;

/**
 * 库区 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface WarehouseAreaConvert {

    WarehouseAreaConvert INSTANCE = Mappers.getMapper(WarehouseAreaConvert.class);

    WarehouseAreaDO convert(WarehouseAreaCreateReqVO bean);

    WarehouseAreaDO convert(WarehouseAreaUpdateReqVO bean);

    WarehouseAreaRespVO convert(WarehouseAreaDO bean);

    List<WarehouseAreaRespVO> convertList(List<WarehouseAreaDO> list);

    PageResult<WarehouseAreaRespVO> convertPage(PageResult<WarehouseAreaDO> page);

    List<WarehouseAreaExcelVO> convertList02(List<WarehouseAreaDO> list);

    List<WarehouseAreaSimpleRespVO> convertList03(List<WarehouseAreaDO> list);
}
